const state = {
  // 全部路由信息存储位置
  userRouterType: []
}

const mutations = {
  SET_USER_ROUTER_TYPE: (state, userRouterType) => {
    state.userRouterType = userRouterType
  }
}

const actions = {
  setUserRouerType({ commit }, userRouterType) {
    commit('SET_USER_ROUTER_TYPE', userRouterType)
  }
}

export default {
  state,
  mutations,
  actions
}
